// import Layout from "@/Layout/index";
import { RoutesType } from "@/types/meuns.type";
import { lazy } from "react";
export const defaultRoutes: RoutesType = [
  {
    path: "/",
    name: "Home",
    component: lazy(() => import("@/views/Home")),
    redirect: "index",
    meta: { title: "首页", icon: "HomeOutlined" },
    // children: [
    //   {
    //     path: "index",
    //     component: lazy(() => import("@/views/Home")),
    //     name: "Index",
    //     meta: { title: "首页", icon: "HomeOutlined" },
    //   },
    // ],
  },
  {
    path: "/404",
    name: "NotFound",
    hidden: true,
    component: lazy(() => import("@/views/404")),
  },
];
